package com.ygqh.baby.service;

import java.util.List;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.model.PreSaleRemind;
import com.ygqh.baby.po.AdminContractDetail;

public interface AdminContractDetailService {

	List<AdminContractDetail> find();

	int findCount();

	AdminContractDetail findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(AdminContractDetail adminContractDetail);

	int update(AdminContractDetail adminContractDetail);

	int saveOrUpdate(AdminContractDetail adminContractDetail);

	ResultSet<AdminContractDetail> search(QueryInfo queryInfo, String q);

	AdminContractDetail findBySku(String skuCode, Long contractId);

	List<AdminContractDetail> findSkuListByContractId(Long contractId);

	List<PreSaleRemind> findPreSaleForRemind();

}
